var async=require('async');
var fs=require('fs');

var err;
var results;

var n=function(x) {return x;}
var p=function(x) {console.log(x); return x;}
var done1=function(err, results) {console.log('done1');}
var done2=function(err, results) {console.log('done2');}
var done3=function(err, results) {console.log('done3');}
var done4=function(err, results) {console.log('done4');}
var done5=function(err, results) {console.log('done5');}

async.map([1,2,3,4,5,6,7,8,9,10], n, done1);
async.map(['file1','file2','file3'], fs.stat, done2);
async.map([1,2,3,4,5,6,7,8,9,10], n, done3);
async.map(['file1','file2','file3'], n, done4);
async.map(['file1','file2','file3'], n, done5);
